package com.vlin.entity.scene;

import java.util.ArrayList;
import java.util.List;

public class TimerEvent {

	private long delay;//执行推迟时间  单位 秒
	
	private TimerEvent event;
	
	private List<Command> list = new ArrayList<Command>();

	public long getDelay() {
		return delay;
	}

	public void setDelay(long delay) {
		this.delay = delay;
	}

	public TimerEvent getEvent() {
		return event;
	}

	public void setEvent(TimerEvent event) {
		this.event = event;
	}

	public List<Command> getList() {
		return list;
	}

	
	public void setList(List<Command> list) {
		this.list = list;
	}
	
	public void addCommand(Command command) {
		list.add(command);
	}

}
